package com.ys.web.sys.banner;

import com.ys.base.BaseDao;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BannerMapper extends BaseDao {
    @Select("select * from t_sys_banner where status=1 and beginTime < now() and endTime > now() order by idx desc")
    List<Banner> list();
}
